<!--
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2024-04-15 14:15:27
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-04-15 14:41:38
 * @Description:
 *
 * Copyright (c) 2024 by error: git config user.name & please set dead value or install git, All Rights Reserved.
-->
<template>
  <div class="wrap">{{ `${routerInfo.title} - ${routerInfo.name} -- 暂无页面` }}</div>
</template>

<script>
export default {
  data() {
    return {
      routerInfo: {
        name: '',
        title: ''
      }
    }
  },
  created() {
    this.initData()
  },
  methods: {
    initData() {
      this.routerInfo.name = this.$route.name
      this.routerInfo.title = this.$route.meta.title
    }
  }
}
</script>

<style lang="scss" scoped>
.wrap {
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  display: flex;
  background-color: #fff;
  margin: 10px;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}
</style>
